package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *   `id` INT(11) NOT NULL AUTO_INCREMENT,
 *   `nationality` VARCHAR(50) DEFAULT NULL,
 *   `expire` DATETIME DEFAULT NULL,
 *   `passenger_id` INT(11) DEFAULT NULL,
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Passport {

    private Integer id;
    private String nationality;
    private Date expire;
    private Integer passengerId;

}
